package com.jiaai.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

@SpringBootApplication

@EnableAuthorizationServer //创建Oauth2的认证授权服务器——provider，并开启认证授权服务器的相关默认配置
@MapperScan("com.jiaai.cloud.*.mapper")
public class OautoServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(OautoServiceApplication.class, args);
	}
}
